package fachadaImagen.actions;

import multimedia.IMultimediaDAO;
import multimedia.MultimediaDAOFactory;
import multimedia.MultimediaTO;

public class RegistrarImagenAction {

	private MultimediaTO imagen;

	public RegistrarImagenAction(MultimediaTO imagen) {
		this.imagen = imagen;
	}

	public void Execute() {
		try {
			IMultimediaDAO imagenDAO = MultimediaDAOFactory.GetDAO();
			imagenDAO.registrarMultimedia(imagen,"imagen");

		} catch (Exception e) {

			return;
		}
	}

}
